package com.qyl.deguru.service.impl;

import java.util.List;

import com.qyl.deguru.dao.AddressDao;
import com.qyl.deguru.dao.impl.AddressDaoImple;
import com.qyl.deguru.dto.Address;
import com.qyl.deguru.service.AddressService;

public class AddressServiceImple implements AddressService{
	AddressDao addressDao=new AddressDaoImple();
	@Override
	public List<Address> getAddressByUser_id(int aid) {
		return addressDao.getAddressByUser_id(aid);
	}
	@Override
	public void delAddressById(int did) {
		addressDao.delAddressById(did);
		
	}

}
